This collection contains the parametric refinement options, generated for the current search results. Use Metadata property of the Tab object to access this collection.
Each item of the collection represent a refinement option that you can use to adjust your search.
The Refinement object is a collection of RefineItem objects.
Below are the members that Refinement object exposes:
Read-Only String Property
This property returns the metadata field name for this refinement.
Read-Only Integer Property
This property returns the number of RefineItem objects that this refinement contains.
Read-Only Variant(Index) Property (RefineItem)
Output = "" For Each Refinement in App.ActiveTab.Metadata Output = Output & vbCrLf & Refinement.Name For I = 0 To Refinement.Count-1 Output = Output & vbCrLf & Space(4) & Refinement(I).Name & " (" & Refinement(I).Count & ")" Next Next MsgBox Output ' Sample Output: ' Department ' HR (10) ' Administration (7) ' Marketing (5) ' Support (2) ' Author ' John Smith (12) ' Fred Jones (3) ' Company ' AMCE Inc (123) ' Random Aerospace (1)